
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-black: #0f0f23;
    --secondary-black: #1a1a2e;
    --accent-gray: #16213e;
    --light-gray: #0f3460;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --accent-blue: #4f46e5;
    --accent-purple: #7c3aed;
    --accent-cyan: #06b6d4;
    --accent-gold: #f59e0b;
    --accent-silver: #9ca3af;
    --gradient-dark: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    --gradient-card: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
    --gradient-accent: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --gradient-cyan: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    --shadow-dark: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-light: 0 4px 16px rgba(255, 255, 255, 0.1);
    --border-glow: 1px solid rgba(79, 70, 229, 0.3);
    --border-cyan: 1px solid rgba(6, 182, 212, 0.3);
}

html {
    width: 100vw;
    height: 100vh;
    background: var(--gradient-dark);
    font-family: 'Inter', 'Segoe UI', 'Roboto', sans-serif;
    color: var(--white);
    overflow-x: hidden;
}

body {
    background: var(--gradient-dark);
    min-height: 100vh;
    position: relative;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-black);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-gray);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--light-gray);
}

/* 全局动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(79, 70, 229, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(79, 70, 229, 0.6);
    }
}

@keyframes glow-cyan {
    0%, 100% {
        box-shadow: 0 0 5px rgba(6, 182, 212, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(6, 182, 212, 0.6);
    }
}

/* Element Plus 组件样式覆盖 */
.el-card {
    background: var(--gradient-card) !important;
    border: var(--border-glow) !important;
    box-shadow: var(--shadow-dark) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.el-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-dark), 0 0 30px rgba(79, 70, 229, 0.2) !important;
}

.el-button {
    background: var(--accent-gray) !important;
    border: 1px solid var(--light-gray) !important;
    color: var(--white) !important;
    transition: all 0.3s ease;
}

.el-button:hover {
    background: var(--light-gray) !important;
    border-color: var(--accent-blue) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.el-button--primary {
    background: var(--gradient-accent) !important;
    border-color: var(--accent-blue) !important;
}

.el-button--primary:hover {
    background: linear-gradient(135deg, #7c3aed, #4f46e5) !important;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.4);
}

.el-input__wrapper {
    background: var(--secondary-black) !important;
    border: 1px solid var(--accent-gray) !important;
    box-shadow: none !important;
}

.el-input__wrapper:hover {
    border-color: var(--accent-blue) !important;
}

.el-input__wrapper.is-focus {
    border-color: var(--accent-blue) !important;
    box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.2) !important;
}

.el-form-item__label {
    color: var(--white) !important;
}

.el-header {
    background: var(--secondary-black) !important;
    border-bottom: 1px solid var(--accent-gray);
}

.el-main {
    background: transparent !important;
    padding: 20px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .el-col {
        margin-bottom: 20px;
    }
}